package scau.mis4.chanyulin.atm.base.common;

/**
 * Created by chanyulin on 2018/5/24.
 * 返回码和异常码
 */
public interface CODE {

    // 函数返回结果
    int MSG_FAILED = 0;
    int MSG_SUCCESS = 1;
    // 异常
    int ERR_NULL_POINTER = 2;
    int ERR_SESSION_EMPTY = 3;
    int ERR_SESSION_OCCUPIED = 4;
    int ERR_BALANCE_DEFICIENCY = 5;
    int ERR_NUMBER_OUT_OF_RANGE = 6;
    int ERR_OUT_OF_CASH = 7;
    int ERR_UNSUPPORTED_CARD = 8;
    int ERR_POWER_OFF = 9;

}
